package com.system.boot.file.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.system.api.file.entity.FileAvatar;
import com.system.api.rbac.entity.po.SysMenu;
import jakarta.validation.Valid;
import org.yang.common.core.exception.BaseException;

/**
 *  
 * @author: lslands
 * @description:   
 * @version：v1.0
 * @date:    2024/6/29 23:54
 */
public interface FileAvatarService extends IService<FileAvatar> {


    /**
     * 插入
     * @param record 插入对象
     * @return Long 文件ID
     * @throws BaseException 空指针异常
     */
    Long handInsert(@Valid FileAvatar record) throws BaseException;
}
